package com.ruoyi.lm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户套餐关联对象 lm_userlevelpackage
 * 
 * @author ruoyi
 * @date 2020-09-02
 */
public class LmUserlevelpackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户id */
    //@Excel(name = "用户id")
    private String userId;

    /** 用户 */
    @Excel(name = "用户")
    private String userName;

    /** 套餐id */
   // @Excel(name = "套餐id")
    private String packageId;

    /** 套餐 */
    @Excel(name = "套餐")
    private String packageName;

    /** 包含次数 */
    @Excel(name = "包含次数")
    private Integer packageTimes;

    private String transtionId;

    private Float packagePrice;

    private String dateStr;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setPackageId(String packageId) 
    {
        this.packageId = packageId;
    }

    public String getPackageId() 
    {
        return packageId;
    }
    public void setPackageTimes(Integer packageTimes) 
    {
        this.packageTimes = packageTimes;
    }

    public Integer getPackageTimes() 
    {
        return packageTimes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("packageId", getPackageId())
            .append("packageTimes", getPackageTimes())
            .append("createTime", getCreateTime())
            .append("packagePrice", getPackagePrice())
            .toString();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getTranstionId() {
        return transtionId;
    }

    public void setTranstionId(String transtionId) {
        this.transtionId = transtionId;
    }

    public Float getPackagePrice() {
        return packagePrice;
    }

    public void setPackagePrice(Float packagePrice) {
        this.packagePrice = packagePrice;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }
}
